package com.example.author.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 凡哥哥
 * @since 2023-11-20
 */
@Getter
@Setter
  @ApiModel(value = "Author对象", description = "")
public class Author implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Long id;

    private String password;

    private String image;

      @ApiModelProperty("0女 1男")
      private Integer sex;

    private String phone;

      @ApiModelProperty("0禁用 1正常")
      private Boolean status;

    @TableField(exist = false)
    private String code;

    private String author;

    private Boolean isDelete;

    private LocalDateTime createTime;


}
